package com.chaoyi.dao.mysql;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.chaoyi.model.BarrageAndUser;

public interface BarrageAndUserMapper {

	List<BarrageAndUser> findList(@Param("pageStat")String offset,@Param("pageStop")String limit);

	int saveBarrageAndUser(@Param("barrageAndUser")BarrageAndUser barrageAndUser);

	BarrageAndUser findBarrageAndUserOne(@Param("id")int id);

	int alertBarrageAndUserSave(@Param("barrageAndUser")BarrageAndUser barrageAndUser);

	int deleteBarrageAndUser(@Param("id")int id);

	int findCount();

}
